package pattern.birdge

/**
 * Created by 焕滨 on 2015/9/20.
 */
object Client {

  def main(args: Array[String]): Unit = {
    val concreteImplementorA = new ConcreteImplementorA
    val concreteImplementorB = new ConcreteImplementorB
    val abstraction:Abstraction = new RefinedAbstraction(concreteImplementorA)
    abstraction.operation()
    abstraction.setImplementor(concreteImplementorB)
    abstraction.operation()
  }
}
